// #ifndef VUE3
import Vue from 'vue'
import App from './App'
// 通用样式
import './styles/global.scss';
// 导入 vuex 实例
import store from './store';
Vue.config.productionTip = false



App.mpType = 'app'

// 注册过滤器
import * as filters from './filters/index.js'

Object.keys(filters).forEach(key => {
	Vue.filter(key, filters[key])
})

const app = new Vue({
	...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif